Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Getting the Size of an Attribute or Element

The Q3XElementType_GetElementSize routine returns the size of an attribute or element.

Q3XElementType_GetElementSize

The Q3XElementType_GetElementSize function returns the size in bytes of an asttribute or element type.

TQ3Status Q3XElementType_GetElementSize(
                     TQ3ElementType    elementType,
                     unsigned long     *sizeOfElement);
elementType
An attribute or element type.
sizeOfElement
The size in bytes of the type.

DESCRIPTION

The Q3XElementType_GetElementSize function returns, in the sizeOfElement parameter, the size in bytes of the attribute or element indicated by the elementType parameter.


© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |